package com.dmxh.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailVo implements Serializable {/*存redis的时候需要序列化一下*/
    private Long itemId;//itemid

    private Long goodsId;//商品id

    private String title;//标题

    private BigDecimal price;//单价  dubbo会有精度损失   Big..精确

    private Integer num;//数量

    private BigDecimal totalFee;//总金额

    private String picPath;//商品图片

    private String sellerId;//商家Id
}
